home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextFieldCopyLink.z
/
XmTextFieldCopyLink
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCooooppppyyyyLLLLiiiinnnnkkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCooooppppyyyyLLLLiiiinnnnkkkk((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCooooppppyyyyLLLLiiiinnnnkkkk - A TextField function that copies a
link to the primary selection to the clipboard
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/TextF.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCooooppppyyyyLLLLiiiinnnnkkkk(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
TTTTiiiimmmmeeee ttttiiiimmmmeeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCooooppppyyyyLLLLiiiinnnnkkkk copies a link to the primary selected
text to the clipboard. This routine calls the
XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures, possibly multiple times, with
the _s_e_l_e_c_t_i_o_n member of the XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt set to
_C_L_I_P_B_O_A_R_D and with the _p_a_r_m member set to XXXXmmmmLLLLIIIINNNNKKKK. The
TextField widget itself does not copy any links;
XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures are responsible for copying
the link to the clipboard and for taking any related
actions.
_w_i_d_g_e_t Specifies the TextField widget ID.
_t_i_m_e Specifies the time of the transfer. This should
be the time of the event which triggered this
request. One source of a valid time stamp is the
function XXXXttttLLLLaaaassssttttTTTTiiiimmmmeeeessssttttaaaammmmppppPPPPrrrroooocccceeeesssssssseeeedddd.
For a complete definition of TextField and its associated
resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
RRRREEEETTTTUUUURRRRNNNN
This function returns False if the primary selection is
NULL, if the _w_i_d_g_e_t does not own the primary selection, if
the function is unable to gain ownership of the clipboard
selection, or if no data is placed on the clipboard.
Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
Page 1 (printed 10/24/98)